package model

type SysUserOrgRole struct {
	DcModel
	OrgRoleCode string `json:"org_role_code" gorm:"comment:组织角色编码;primaryKey;"`
	EmpeeAcct   string `json:"empee_acct" gorm:"comment:工号;primaryKey;"`
	Primary     string `json:"primary" gorm:"comment:是否主归属;default:yes;"`
}

type RequestUserOrgRole struct {
	OrgRoleCode string `json:"org_role_code"`
	EmpeeAcct   string `json:"empee_acct"`
}

type RequestUserOrgRoleAdd struct {
	OrgRoleCode []string `json:"org_role_code"`
	EmpeeAcct   string   `json:"empee_acct"`
}
